package com.jsb.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SecretlyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private int pageIndex;

    private int pageSize;

    public SecretlyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex=pageIndex;
    }

    public int getPageIndex() {
        return this.pageIndex;
    }

    public void setPageSize(int pageSize) {
        this.pageSize=pageSize;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public SecretlyExample(int pageIndex, int pageSize) {
        this();
        this.pageIndex=pageIndex;
        this.pageSize=pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidIsNull() {
            addCriterion("answerUuid is null");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidIsNotNull() {
            addCriterion("answerUuid is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidEqualTo(String value) {
            addCriterion("answerUuid =", value, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidNotEqualTo(String value) {
            addCriterion("answerUuid <>", value, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidGreaterThan(String value) {
            addCriterion("answerUuid >", value, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidGreaterThanOrEqualTo(String value) {
            addCriterion("answerUuid >=", value, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidLessThan(String value) {
            addCriterion("answerUuid <", value, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidLessThanOrEqualTo(String value) {
            addCriterion("answerUuid <=", value, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidLike(String value) {
            addCriterion("answerUuid like", value, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidNotLike(String value) {
            addCriterion("answerUuid not like", value, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidIn(List<String> values) {
            addCriterion("answerUuid in", values, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidNotIn(List<String> values) {
            addCriterion("answerUuid not in", values, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidBetween(String value1, String value2) {
            addCriterion("answerUuid between", value1, value2, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andAnswerUuidNotBetween(String value1, String value2) {
            addCriterion("answerUuid not between", value1, value2, "answerUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidIsNull() {
            addCriterion("questionUuid is null");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidIsNotNull() {
            addCriterion("questionUuid is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidEqualTo(String value) {
            addCriterion("questionUuid =", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidNotEqualTo(String value) {
            addCriterion("questionUuid <>", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidGreaterThan(String value) {
            addCriterion("questionUuid >", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidGreaterThanOrEqualTo(String value) {
            addCriterion("questionUuid >=", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidLessThan(String value) {
            addCriterion("questionUuid <", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidLessThanOrEqualTo(String value) {
            addCriterion("questionUuid <=", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidLike(String value) {
            addCriterion("questionUuid like", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidNotLike(String value) {
            addCriterion("questionUuid not like", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidIn(List<String> values) {
            addCriterion("questionUuid in", values, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidNotIn(List<String> values) {
            addCriterion("questionUuid not in", values, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidBetween(String value1, String value2) {
            addCriterion("questionUuid between", value1, value2, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidNotBetween(String value1, String value2) {
            addCriterion("questionUuid not between", value1, value2, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumIsNull() {
            addCriterion("peepPhoneNum is null");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumIsNotNull() {
            addCriterion("peepPhoneNum is not null");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumEqualTo(String value) {
            addCriterion("peepPhoneNum =", value, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumNotEqualTo(String value) {
            addCriterion("peepPhoneNum <>", value, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumGreaterThan(String value) {
            addCriterion("peepPhoneNum >", value, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumGreaterThanOrEqualTo(String value) {
            addCriterion("peepPhoneNum >=", value, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumLessThan(String value) {
            addCriterion("peepPhoneNum <", value, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumLessThanOrEqualTo(String value) {
            addCriterion("peepPhoneNum <=", value, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumLike(String value) {
            addCriterion("peepPhoneNum like", value, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumNotLike(String value) {
            addCriterion("peepPhoneNum not like", value, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumIn(List<String> values) {
            addCriterion("peepPhoneNum in", values, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumNotIn(List<String> values) {
            addCriterion("peepPhoneNum not in", values, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumBetween(String value1, String value2) {
            addCriterion("peepPhoneNum between", value1, value2, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andPeepPhoneNumNotBetween(String value1, String value2) {
            addCriterion("peepPhoneNum not between", value1, value2, "peepPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumIsNull() {
            addCriterion("mentionPhoneNum is null");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumIsNotNull() {
            addCriterion("mentionPhoneNum is not null");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumEqualTo(String value) {
            addCriterion("mentionPhoneNum =", value, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumNotEqualTo(String value) {
            addCriterion("mentionPhoneNum <>", value, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumGreaterThan(String value) {
            addCriterion("mentionPhoneNum >", value, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumGreaterThanOrEqualTo(String value) {
            addCriterion("mentionPhoneNum >=", value, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumLessThan(String value) {
            addCriterion("mentionPhoneNum <", value, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumLessThanOrEqualTo(String value) {
            addCriterion("mentionPhoneNum <=", value, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumLike(String value) {
            addCriterion("mentionPhoneNum like", value, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumNotLike(String value) {
            addCriterion("mentionPhoneNum not like", value, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumIn(List<String> values) {
            addCriterion("mentionPhoneNum in", values, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumNotIn(List<String> values) {
            addCriterion("mentionPhoneNum not in", values, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumBetween(String value1, String value2) {
            addCriterion("mentionPhoneNum between", value1, value2, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andMentionPhoneNumNotBetween(String value1, String value2) {
            addCriterion("mentionPhoneNum not between", value1, value2, "mentionPhoneNum");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyIsNull() {
            addCriterion("secretlyMoney is null");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyIsNotNull() {
            addCriterion("secretlyMoney is not null");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyEqualTo(Double value) {
            addCriterion("secretlyMoney =", value, "secretlyMoney");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyNotEqualTo(Double value) {
            addCriterion("secretlyMoney <>", value, "secretlyMoney");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyGreaterThan(Double value) {
            addCriterion("secretlyMoney >", value, "secretlyMoney");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("secretlyMoney >=", value, "secretlyMoney");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyLessThan(Double value) {
            addCriterion("secretlyMoney <", value, "secretlyMoney");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyLessThanOrEqualTo(Double value) {
            addCriterion("secretlyMoney <=", value, "secretlyMoney");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyIn(List<Double> values) {
            addCriterion("secretlyMoney in", values, "secretlyMoney");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyNotIn(List<Double> values) {
            addCriterion("secretlyMoney not in", values, "secretlyMoney");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyBetween(Double value1, Double value2) {
            addCriterion("secretlyMoney between", value1, value2, "secretlyMoney");
            return (Criteria) this;
        }

        public Criteria andSecretlyMoneyNotBetween(Double value1, Double value2) {
            addCriterion("secretlyMoney not between", value1, value2, "secretlyMoney");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateIsNull() {
            addCriterion("secretlyDate is null");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateIsNotNull() {
            addCriterion("secretlyDate is not null");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateEqualTo(Date value) {
            addCriterion("secretlyDate =", value, "secretlyDate");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateNotEqualTo(Date value) {
            addCriterion("secretlyDate <>", value, "secretlyDate");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateGreaterThan(Date value) {
            addCriterion("secretlyDate >", value, "secretlyDate");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateGreaterThanOrEqualTo(Date value) {
            addCriterion("secretlyDate >=", value, "secretlyDate");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateLessThan(Date value) {
            addCriterion("secretlyDate <", value, "secretlyDate");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateLessThanOrEqualTo(Date value) {
            addCriterion("secretlyDate <=", value, "secretlyDate");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateIn(List<Date> values) {
            addCriterion("secretlyDate in", values, "secretlyDate");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateNotIn(List<Date> values) {
            addCriterion("secretlyDate not in", values, "secretlyDate");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateBetween(Date value1, Date value2) {
            addCriterion("secretlyDate between", value1, value2, "secretlyDate");
            return (Criteria) this;
        }

        public Criteria andSecretlyDateNotBetween(Date value1, Date value2) {
            addCriterion("secretlyDate not between", value1, value2, "secretlyDate");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNull() {
            addCriterion("payStatus is null");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNotNull() {
            addCriterion("payStatus is not null");
            return (Criteria) this;
        }

        public Criteria andPayStatusEqualTo(String value) {
            addCriterion("payStatus =", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotEqualTo(String value) {
            addCriterion("payStatus <>", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThan(String value) {
            addCriterion("payStatus >", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThanOrEqualTo(String value) {
            addCriterion("payStatus >=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThan(String value) {
            addCriterion("payStatus <", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThanOrEqualTo(String value) {
            addCriterion("payStatus <=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLike(String value) {
            addCriterion("payStatus like", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotLike(String value) {
            addCriterion("payStatus not like", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusIn(List<String> values) {
            addCriterion("payStatus in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotIn(List<String> values) {
            addCriterion("payStatus not in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusBetween(String value1, String value2) {
            addCriterion("payStatus between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotBetween(String value1, String value2) {
            addCriterion("payStatus not between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("payType is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("payType is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(String value) {
            addCriterion("payType =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(String value) {
            addCriterion("payType <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(String value) {
            addCriterion("payType >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(String value) {
            addCriterion("payType >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(String value) {
            addCriterion("payType <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(String value) {
            addCriterion("payType <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLike(String value) {
            addCriterion("payType like", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotLike(String value) {
            addCriterion("payType not like", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<String> values) {
            addCriterion("payType in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<String> values) {
            addCriterion("payType not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(String value1, String value2) {
            addCriterion("payType between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(String value1, String value2) {
            addCriterion("payType not between", value1, value2, "payType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}